using Microsoft.UI.Xaml.Controls;
using Microsoft.Extensions.DependencyInjection;
using GoChat_for_Windows.ViewModels;

namespace GoChat_for_Windows.Views
{
    public sealed partial class LoginPage : Page
    {
        public LoginViewModel ViewModel { get; }

        public LoginPage()
        {
            ViewModel = App.GetService<LoginViewModel>();
            this.InitializeComponent();
            DataContext = ViewModel;
        }
    }
} 